package com.ruoyi.common.utils.file;

import com.ruoyi.common.annotation.Excel;

import java.io.Serializable;

/**
 * Description: com.ruoyi.common.utils.file
 * User: hushibo
 * Date: 2021-05-26 10:26
 * Time: 10:26
 * Version: 1.0
 */
public class FileUploadResult implements Serializable {

    private static final long serialVersionUID = -7657680197432004211L;

    private String mimeType;

    private String originalFilename;

    private String seoFilename;

    private String altAttribute;

    private String titleAttribute;

    private String virtualPath;

    // private String contentType;

    private long size;

    private Integer pictureType;

    private String extension;

    public FileUploadResult() {
    }

    public FileUploadResult(String mimeType, String originalFilename, long size, String extension) {
        this.mimeType = mimeType;
        this.originalFilename = originalFilename;
        this.size = size;
        this.extension = extension;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public String getOriginalFilename() {
        return originalFilename;
    }

    public void setOriginalFilename(String originalFilename) {
        this.originalFilename = originalFilename;
    }

    public String getSeoFilename() {
        return seoFilename;
    }

    public void setSeoFilename(String seoFilename) {
        this.seoFilename = seoFilename;
    }

    public String getAltAttribute() {
        return altAttribute;
    }

    public void setAltAttribute(String altAttribute) {
        this.altAttribute = altAttribute;
    }

    public String getTitleAttribute() {
        return titleAttribute;
    }

    public void setTitleAttribute(String titleAttribute) {
        this.titleAttribute = titleAttribute;
    }

    public String getVirtualPath() {
        return virtualPath;
    }

    public void setVirtualPath(String virtualPath) {
        this.virtualPath = virtualPath;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public Integer getPictureType() {
        return pictureType;
    }

    public void setPictureType(Integer pictureType) {
        this.pictureType = pictureType;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    @Override
    public String toString() {
        return "FileUploadResult{" +
                "mimeType='" + mimeType + '\'' +
                ", originalFilename='" + originalFilename + '\'' +
                ", seoFilename='" + seoFilename + '\'' +
                ", altAttribute='" + altAttribute + '\'' +
                ", titleAttribute='" + titleAttribute + '\'' +
                ", virtualPath='" + virtualPath + '\'' +
                ", size=" + size +
                ", pictureType=" + pictureType +
                ", extension='" + extension + '\'' +
                '}';
    }
}
